<!DOCTYPE html>
<html lang="en">

<head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
    <meta name="viewport" id="viewport" content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta name="format-detection" content="telephone=no" />
    <title>信息公开</title>
    <link rel="stylesheet" href="css/normalize.css">
    <link rel="stylesheet" href="css/comment.css">
    <link rel="stylesheet" href="css/style.css">
    <link rel="stylesheet" href="css/map.css">
    <script src="js/flexible.js"></script>
    <script src="js/jquery-min.js"></script>
    <script src="js/common.js"></script>

</head>

<body>
    <div class="header-top">
        <div class="topline"></div>
        <div class="heade">
            <a href="javascript:void(0)" class="iconf"><img src="img/iconleft.png" alt=""></a>
            <h2 class="title">信息公开</h2>
            <a href="javascript:void(0);" class="serchbtn"></a>
        </div>

    </div>
    <!-- 站位 -->
    <div class="d17"></div>
    <!-- news-->
    <div class="newsdiv">
        <h1 class="title">
            黑臭水体随手拍数据统计
        </h1>
        <div class="tablediv">
            <table>
                <thead>
                    <tr class="hdtitle">
                        <th>总投诉<span>(条)</span></th>
                        <th>当月投诉<span>(条)</span></th>
                        <th>已处理<span>(条)</span></th>
                        <th>未处理<span>(条)</span></th>
                    </tr>
                </thead>
                <tbody>
                    <tr id="baseInfo">
                        <td>5420</td>
                        <td>4285</td>
                        <td>1028</td>
                        <td>10</td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>

</body>

</html>

<script>

    $(function(){
        load();
    })
    
    function load() {

        var __sid = $api.getStorage("sessionid");
        alert(__sid);
        $.ajax({
            url:baseUrl+"xxgk/xxgkComplaint/listData",
            type:"get",
            headers:{
                "__sid": __sid
            },
            contentType:"application/json;charset=utf-8",
            
            success: function (result) {
            
                alert(JSON.stringify(result));
                
                var list = result.list;

                alert(JSON.stringify(list));

                // lastPage =JSON.parse(result).lastPage;
                if(list==null){
                    list='';
                }
                $("#baseInfo").html(`
                        <td>5426</td>
                        <td>4285</td>
                        <td>1028</td>
                        <td>10</td>`);
                venueList(list);
            },
            error: function (e) {
                alert(JSON.stringify(e));
            },
            complete: function () {

            }
        });
    }
</script>